///sdse_action SceneNode

#ifndef SCENENODE_H
#define SCENENODE_H

#include "system/action.h"
#include "gfxServer.h"

using namespace sde;

class SceneNode : public Action {
protected:
    Ogre::SceneNode* sceneNode;
    Ogre::SceneNode* parentSceneNode;
    Ogre::SceneManager* sceneManager;
    GfxServer* gfxServer;

public:
    SceneNode(std::string _type, std::string _name, Object* _object);

    void updateParent(Var val);
    void updatePosition(Var val);
    void updateRotation(Var val);
    void updateScale(Var val);
    void updateShown(Var val);
    void updateShowBoundingBox(Var val);
    
    virtual void run();
    virtual void stop();
};

#endif
